import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 导入字体图标
import './assets/fonts/iconfont.css'
// 导入全局样式
import "../src/assets/css/global.css"
// 引入axios
import axios from 'axios'

// 配置axios的根路径
axios.defaults.baseURL="http://127.0.0.1:8888/api/private/v1/"

// 注册axios,全局挂载
Vue.prototype.$axios=axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
